package com.expand.demo.stroke

import android.content.Context
import android.content.Intent
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.widget.TextView
import com.expand.demo.R

/**
 *  文字描边效果
 *  Created by zxn on 2021/9/27.
 */
class StrokeTextActivity : AppCompatActivity() {

    companion object {
        @JvmStatic
        fun jumpTo(context: Context) {
            context.startActivity(Intent(context, StrokeTextActivity::class.java))
        }
    }

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_stroke_text)

        findViewById<TextView>(R.id.tvSurplusCount).run {
            text = "777777"
        }
    }
}